<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>资料库 - 雅马哈之星管乐卡拉ok大赛</title>
    <link rel="stylesheet" type="text/css" href="/static/web/css/style.css"/>
</head>
<body>
<div class="all-box">
    @include('web.top',['nav' => 4])
    <div class="content-box">
        <div class="height"></div>
        <div class="about rules" id="socll">
            <div class="video-title">
                <ul class="clearfix">

                    <volist name="clist" id="vo" key="i">
                        <li>
                            <a href="__URL__/data/cid/{$vo.id}"
                            <if condition="$vo.id eq $cid ">class="on"</if>
                            >{$vo.topic}</a>
                        </li>
                    </volist>

                </ul>
            </div>
            <div class="video-content clearfix">
                <div class="area-left">
                    <h2>2014年“雅马哈之星”管乐卡拉OK大赛乐曲师范。</h2>

                    <h2>{$info.topic}</h2>
                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
                            width="500" height="290">
                        <param name="movie" value="{$info.video}"/>
                        <param name="quality" value="high"/>
                        <param value="never" name="AllowScriptAccess">
                        <param value="opaque" name="wmode">
                        <param name="wmode" value="transparent"/>
                        <embed src="{$info.video}" quality="high"
                               pluginspage="http://www.macromedia.com/go/getflashplayer"
                               type="application/x-shockwave-flash" wmode="transparent" width="500"
                               height="290"></embed>
                    </object>
                    <h2>视频简介</h2>

                    <p class="mes">资料下载地址：<a href="{$info.specialty}" target="_blank">{$info.specialty}</a></p>

                    <p class="mes">{$info.content}</p>
                </div>
                <div class="area-right">
                    <div class="top"></div>
                    <div class="list-box">
                        <ul id="data-list">
                            <volist name="list" id="vo" key="i">
                                <li>
                                    <a href="__APP__/Index/data/cid/{$vo.categoryid}/id/{$vo.id}"><img
                                            src="__PUBLIC__/uploads/{$vo.bigpic}"/></a>

                                    <div class="bor"></div>
                                </li>
                            </volist>

                        </ul>
                    </div>
                    <div class="bottom"></div>
                </div>
            </div>
        </div>

    </div>
    @include('web.bottom')

</div>
@include('web.baoming')
</body>
<script type="text/javascript" src="/static/web/js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="/static/web/js/index.js"></script>
<script type="text/javascript">
    var list = $("#data-list").find("li").length,
            height = $("#data-list").find("li").eq(0).outerHeight(),
            num = 0;
    $(".area-right").find(".bottom").click(function () {
        if (num < list - 4) {
            num++
        } else {
            return false;
        }

        var top = -num * 120;

        $("#data-list").animate({
            top: top
        }, 300);
    });

    $(".area-right").find(".top").click(function () {
        if (num != 0) {
            num--
        } else {
            return false;
        }

        var top = -num * 120;

        $("#data-list").animate({
            top: top
        }, 300);
    });
</script>
</html>